feat: full-stack indie games catalog with AI chat#2
Open
ingjuanbejarano wants to merge 1 commit into
Open
Conversation
- Games CRUD: SQLite persistence via better-sqlite3, repository pattern (GamesRepository interface + SqliteGamesRepository), Zod validation, seed script with 10 sample games. - REST API: five route handlers (GET/POST /api/games, GET/PUT/DELETE /api/games/:id) with structured error responses and request body validation. - AI Chat: streaming chat via Vercel AI SDK + Anthropic claude-haiku-4-5, tool calling (list_games, find_game_by_title, catalog_summary, respond), structured output as a discriminated union (game | games | comparison | count | stats | text) rendered as rich cards in the UI. - UI: Next.js 16 App Router, mobile-first Tailwind v4, native <dialog> modals (bottom-sheet on mobile / centered on desktop), right-anchored chat drawer with backdrop, answer cards per output kind. - Docs: technical feature docs in docs/features/, specs in docs/specs/, CLAUDE.md with engineering rules and conventions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Games CRUD: SQLite persistence via better-sqlite3, repository pattern (GamesRepository interface + SqliteGamesRepository), Zod validation, seed script with 10 sample games.
REST API: five route handlers (GET/POST /api/games, GET/PUT/DELETE /api/games/:id) with structured error responses and request body validation.
AI Chat: streaming chat via Vercel AI SDK + Anthropic claude-haiku-4-5, tool calling (list_games, find_game_by_title, catalog_summary, respond), structured output as a discriminated union (game | games | comparison | count | stats | text) rendered as rich cards in the UI.
UI: Next.js 16 App Router, mobile-first Tailwind v4, native
modals (bottom-sheet on mobile / centered on desktop), right-anchored chat drawer with backdrop, answer cards per output kind.
Docs: technical feature docs in docs/features/, specs in docs/specs/, CLAUDE.md with engineering rules and conventions.
Submission
What I built: an application with dashboard using a CRUD for indie games, and a chat for information abaout the catalog using tool calling
How to run (complete instructions in README.md
Trade-offs: explained in README.md
Checklist
AI_WORKFLOW.mdincluded